﻿using System;
using System.Collections.Generic;
using FuelTracker.Models;

namespace FuelTracker.Services
{
    public interface IStorageService
    {
        IEnumerable<VehicleInfo> VehicleInfos { get; }

        void AddVehicle(Vehicle vehicle);
        void SaveVehicle(Vehicle vehicle);
        void SaveLastVehicle(Vehicle vehicle);
        Vehicle GetLastVehicle();
    }
}
